<template>
	<rich-text :nodes="str"></rich-text>
</template>

<script>
	export default {
		name:"OmRichtext",
		props:{
			nodes:{
				type:String,
				default(){
					return ""
				}
			},
		},
		data(){
			return{
				str:""
			}
		},
		created() {
			this.str = '<span style="white-space:pre-wrap;">'+this.nodes+'</span>'
		}
	}
</script>
<style>
	
</style>
